package com.itheima.domain;

public class Lead extends Company {
    private String money;

    public Lead() {
    }

    public Lead(String name, String age, int salary, String money) {
        super(name, age, salary);
        this.money = money;
    }

    @Override
    public void method() {
        System.out.println("项目经理工作");
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }
}
